package cn.zzp.org.service;

import cn.zzp.basic.service.BaseService;
import cn.zzp.org.domain.Shop;
import cn.zzp.org.domain.ShopDto;
import cn.zzp.org.domain.ShopLog;

import java.util.List;

/**
 * @ClassName EmployeeService
 * @Description  部门service层
 * @Author 祝志鹏
 * @Date 2022/7/14 14:15
 */
public interface ShopService extends BaseService<Shop> {

    /**
     * 店铺注册
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 店铺审核通过
     * @param log
     */
    void pass(ShopLog log);

    /**
     * 驳回
     * @param log
     */
     void reject(ShopLog log);

    /**
     * 导入批量插入
     * @param shops
     */
    void patchAdd(List<Shop> shops);

    /**
     * 根据状态分组查询
     */
    List<ShopDto> getCountByState();
}
